<?php
$this->breadcrumbs=array(
	Yii::t('labels','Products')=>array('admin'),
	$model->name,
); ?>

<h1><?php echo Yii::t('labels','View Product {primaryKey}',array('{primaryKey}'=>$model->id)); ?></h1>

<?php $this->widget('bootstrap.widgets.TbDetailView',array(
	'data'=>$model,
	'attributes'=>array(
		'code',
		'name',
		array(
			'name'=>'category_id',
			'value'=>$model->category->name
		),
		'price',
		'description',
		'images',
		'status',
		'available_sizes',
		'create_time',
		'update_time',
		'deleted',
	),
)); ?>
